/**
 * 
 */
package cn.edu.nju.ws.sview.wyge.relations.adataset.relations;

import java.util.Comparator;

/**
 * @author Weiyi Ge (geweiyi@gmail.com) 2012-8-15
 * 
 */
public class VariableComparator implements Comparator<String> {
	public int compare(String o1, String o2) {
		int vid1 = Integer.parseInt(o1.substring(1));
		int vid2 = Integer.parseInt(o2.substring(1));
		return vid1 - vid2;
	}
}
